package com.tzbank.wisdom.hystrix;

import java.util.Map;

import org.springframework.stereotype.Component;

import com.tzbank.utils.ResultCode;
import com.tzbank.utils.ResultUtil;
import com.tzbank.wisdom.consumer.CommonServiceScheduler;

@Component
public class CommonServiceHystrix implements CommonServiceScheduler {

	@Override
	public Map<String, Object> findByBusinessType(Map<String, Object> map) {
		return ResultUtil.resultMap("调用服务错误", ResultCode.RESUTL_CODE_FAILURE.code(), null);
	}

	@Override
	public Map<String, Object> addPushReqMsg(Map<String, Object> map) {
		return ResultUtil.resultMap("调用服务错误", ResultCode.RESUTL_CODE_FAILURE.code(), null);
	}

	@Override
	public Map<String, Object> updatePushReqMsg(Map<String, Object> map) {
		return ResultUtil.resultMap("调用服务错误", ResultCode.RESUTL_CODE_FAILURE.code(), null);
	}

	@Override
	public Map<String, Object> addMsgTemplate(Map<String, Object> map) {
		return ResultUtil.resultMap("调用服务错误", ResultCode.RESUTL_CODE_FAILURE.code(), null);
	}
}
